/* 产品月销量表格样式 */
.sales-table {
    width: 80%;
    border-collapse: collapse;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sales-table caption {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    padding: 10px;
    color: #333;
}

.sales-table th {
    background-color: #3498db;
    color: white;
    padding: 12px;
    text-align: center;
    border: 1px solid #2980b9;
}

.sales-table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}

.sales-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.sales-table tr:hover {
    background-color: #e8f4fc;
}

.total-row {
    background-color: #2ecc71 !important;
    color: white;
    font-weight: bold;
}

.total-row td {
    border: 1px solid #27ae60;
}